package com.bruce.demo1.principles.demo1.ocp.demo1;

/**
 * @PROJECT_NAME design_patterns
 * @DESCRIPTION 测试类
 * @AUTHOR CNBruceLee
 * @DATE 2021/6/9 22:27
 */
public class Test {
    public static void main(String[] args) {
        //1、创建搜狗输入法对象
        SougouInput input = new SougouInput();
        //2、创建皮肤对象
        DefaultSkin skin = new DefaultSkin();
        //3、将皮肤设置到输入法中
        input.setSkin(skin);
        //4、显示皮肤
        input.display();

    }
}
